public class Coup {
	int type; // 0 : depl, 1 : saut, 2 : gagne, 3 : perd, 4 : nulle
	int bloque; // 0 : non bloque, 1 : bloque
	Coordonnee depart;
	Coordonnee arrivee;

	public Coup(int type, int bloque, int xdep, int ydep, int xarr, int yarr) {
		this.type = type;
		this.bloque = bloque;
		this.depart = new Coordonnee(xdep, ydep);
		this.arrivee = new Coordonnee(xarr, yarr);
	}

	public Coup(int type, int bloque, Coordonnee depart, Coordonnee arrivee) {
		this.type = type;
		this.bloque = bloque;
		this.depart = depart;
		this.arrivee = arrivee;
	}

	public Coup() {
		super();
	}

	@Override
	public String toString() {
		return "type : " + this.type + ", bloque : " + this.bloque + "," + this.depart +
				"-> " + this.arrivee;
	}
}
